.class public abstract Lcom/estrongs/android/view/FeaturedGridViewWrapper;
.super Lcom/estrongs/android/view/h0;
.source "FeaturedGridViewWrapper.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/view/FeaturedGridViewWrapper$EsGridLayoutManager;,
        Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;,
        Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;,
        Lcom/estrongs/android/view/FeaturedGridViewWrapper$b;,
        Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;,
        Lcom/estrongs/android/view/FeaturedGridViewWrapper$d;,
        Lcom/estrongs/android/view/FeaturedGridViewWrapper$e;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Lcom/estrongs/android/view/h0;"
    }
.end annotation


# instance fields
.field public final e:J

.field protected f:Landroidx/recyclerview/widget/GridLayoutManager;

.field protected g:Landroidx/recyclerview/widget/RecyclerView;

.field protected h:Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/estrongs/android/view/FeaturedGridViewWrapper<",
            "TT;>.GridAdapter<TT;>;"
        }
    .end annotation
.end field

.field protected i:Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;

.field protected j:Lcom/estrongs/android/view/FeaturedGridViewWrapper$d;

.field protected k:Lcom/estrongs/android/view/FeaturedGridViewWrapper$e;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/estrongs/android/view/FeaturedGridViewWrapper$e<",
            "TT;>;"
        }
    .end annotation
.end field

.field protected l:Landroid/view/View;

.field protected m:Landroid/widget/TextView;

.field protected n:Landroid/widget/ImageView;

.field protected o:I

.field protected p:Z

.field protected q:Ljava/util/SortedMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/SortedMap<",
            "Ljava/lang/Integer;",
            "TT;>;"
        }
    .end annotation
.end field

.field protected r:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Lcom/estrongs/android/ui/drag/b;",
            ">;"
        }
    .end annotation
.end field

.field protected s:Lcom/estrongs/android/ui/drag/a;

.field protected t:Landroid/widget/LinearLayout;

.field protected u:Landroid/widget/TextView;

.field protected v:Lcom/estrongs/android/ui/fastscroller/vertical/VerticalRecyclerViewFastScroller;

.field protected w:Z

.field protected x:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

.field protected y:Ljava/lang/String;

.field private z:F


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 2

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/view/h0;-><init>(Landroid/content/Context;)V

    .line 2
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->e:J

    const/4 p1, 0x0

    .line 3
    iput-boolean p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p:Z

    .line 4
    new-instance v0, Ljava/util/TreeMap;

    invoke-direct {v0}, Ljava/util/TreeMap;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    .line 5
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r:Ljava/util/Map;

    const/4 v0, 0x0

    .line 6
    iput-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->t:Landroid/widget/LinearLayout;

    .line 7
    iput-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->u:Landroid/widget/TextView;

    .line 8
    iput-boolean p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->w:Z

    const/4 p1, 0x0

    .line 9
    iput p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->z:F

    .line 10
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->C()V

    return-void
.end method


# virtual methods
.method protected A()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->l:Landroid/view/View;

    if-eqz v0, :cond_0

    const/16 v1, 0x8

    .line 2
    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method protected B()V
    .locals 2

    .line 1
    new-instance v0, Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;

    invoke-direct {v0, p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;-><init>(Lcom/estrongs/android/view/FeaturedGridViewWrapper;)V

    iput-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->h:Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->h:Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;

    new-instance v1, Lcom/estrongs/android/view/FeaturedGridViewWrapper$a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$a;-><init>(Lcom/estrongs/android/view/FeaturedGridViewWrapper;)V

    invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->registerAdapterDataObserver(Landroidx/recyclerview/widget/RecyclerView$AdapterDataObserver;)V

    return-void
.end method

.method protected C()V
    .locals 5

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->s()Landroidx/recyclerview/widget/RecyclerView;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->n()Landroidx/recyclerview/widget/GridLayoutManager;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->f:Landroidx/recyclerview/widget/GridLayoutManager;

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V

    .line 4
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->B()V

    const v0, 0x7f09040d

    .line 5
    invoke-virtual {p0, v0}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/ui/fastscroller/vertical/VerticalRecyclerViewFastScroller;

    iput-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->v:Lcom/estrongs/android/ui/fastscroller/vertical/VerticalRecyclerViewFastScroller;

    const/16 v1, 0x8

    const/4 v2, 0x1

    const/4 v3, 0x0

    if-eqz v0, :cond_1

    .line 6
    iget-object v4, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v0, v4}, Les/lx;->setRecyclerView(Landroidx/recyclerview/widget/RecyclerView;)V

    .line 7
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v4, 0xe

    if-ge v0, v4, :cond_0

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->v:Lcom/estrongs/android/ui/fastscroller/vertical/VerticalRecyclerViewFastScroller;

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->setVerticalScrollBarEnabled(Z)V

    goto :goto_0

    .line 10
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    iget-object v4, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->v:Lcom/estrongs/android/ui/fastscroller/vertical/VerticalRecyclerViewFastScroller;

    invoke-virtual {v4}, Les/lx;->getOnScrollListener()Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;

    move-result-object v4

    invoke-virtual {v0, v4}, Landroidx/recyclerview/widget/RecyclerView;->addOnScrollListener(Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;)V

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->v:Lcom/estrongs/android/ui/fastscroller/vertical/VerticalRecyclerViewFastScroller;

    const/4 v4, 0x4

    invoke-virtual {v0, v4}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v0, v3}, Landroid/view/ViewGroup;->setVerticalScrollBarEnabled(Z)V

    .line 13
    :cond_1
    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    const/high16 v4, 0x2000000

    invoke-virtual {v0, v4}, Landroid/view/ViewGroup;->setScrollBarStyle(I)V

    const v0, 0x1020004

    .line 14
    invoke-virtual {p0, v0}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->l:Landroid/view/View;

    const v0, 0x7f090263

    .line 15
    invoke-virtual {p0, v0}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->n:Landroid/widget/ImageView;

    const v0, 0x7f090264

    .line 16
    invoke-virtual {p0, v0}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->m:Landroid/widget/TextView;

    .line 17
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->A()V

    const v0, 0x7f090930

    .line 18
    invoke-virtual {p0, v0}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->t:Landroid/widget/LinearLayout;

    const v4, 0x7f09092f

    .line 19
    invoke-virtual {v0, v4}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->u:Landroid/widget/TextView;

    .line 20
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 21
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->D()V

    const v0, 0x7f09099c

    .line 22
    invoke-virtual {p0, v0}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    iput-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->x:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    if-eqz v0, :cond_3

    .line 23
    instance-of v1, p0, Lcom/estrongs/android/view/d0;

    if-eqz v1, :cond_2

    .line 24
    invoke-virtual {v0, v3}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setEnabled(Z)V

    goto :goto_1

    .line 25
    :cond_2
    invoke-virtual {v0, v2}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setEnabled(Z)V

    .line 26
    :goto_1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->x:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    new-array v1, v2, [I

    iget-object v2, p0, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v4, 0x7f0601f7

    invoke-virtual {v2, v4}, Landroid/content/res/Resources;->getColor(I)I

    move-result v2

    aput v2, v1, v3

    invoke-virtual {v0, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setColorSchemeColors([I)V

    .line 27
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->x:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    new-instance v1, Lcom/estrongs/android/view/d;

    invoke-direct {v1, p0}, Lcom/estrongs/android/view/d;-><init>(Lcom/estrongs/android/view/FeaturedGridViewWrapper;)V

    invoke-virtual {v0, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setOnRefreshListener(Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout$OnRefreshListener;)V

    :cond_3
    return-void
.end method

.method protected D()V
    .locals 0

    return-void
.end method

.method public E()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p:Z

    return v0
.end method

.method public synthetic F()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->x:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    new-instance v1, Lcom/estrongs/android/view/e;

    invoke-direct {v1, p0}, Lcom/estrongs/android/view/e;-><init>(Lcom/estrongs/android/view/FeaturedGridViewWrapper;)V

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method public synthetic G()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->x:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setRefreshing(Z)V

    return-void
.end method

.method public synthetic H()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->J()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->y:Ljava/lang/String;

    invoke-static {v0}, Lcom/estrongs/android/statistics/c;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "drop"

    .line 3
    invoke-static {v0, v1}, Lcom/estrongs/android/statistics/c;->c(Ljava/lang/String;Ljava/lang/String;)V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->t:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    return-void
.end method

.method public I()V
    .locals 4

    const/4 v0, 0x1

    .line 1
    iput-boolean v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->w:Z

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->t:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_0

    const/16 v1, 0x8

    .line 3
    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setVisibility(I)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->x:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->isRefreshing()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->x:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    new-instance v1, Lcom/estrongs/android/view/f;

    invoke-direct {v1, p0}, Lcom/estrongs/android/view/f;-><init>(Lcom/estrongs/android/view/FeaturedGridViewWrapper;)V

    const-wide/16 v2, 0x258

    invoke-virtual {v0, v1, v2, v3}, Landroid/view/ViewGroup;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_1
    return-void
.end method

.method public abstract J()V
.end method

.method public K()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->h:Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    :cond_0
    return-void
.end method

.method public L()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->A()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->t:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 3
    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setVisibility(I)V

    return-void
.end method

.method public M()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->A()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->m:Landroid/widget/TextView;

    if-eqz v0, :cond_0

    const-string v1, ""

    .line 3
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->t:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_1

    const/4 v1, 0x0

    .line 5
    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 6
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->u:Landroid/widget/TextView;

    if-eqz v0, :cond_2

    const v1, 0x7f110937

    .line 7
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 8
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setVisibility(I)V

    return-void
.end method

.method protected N()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->l:Landroid/view/View;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 2
    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public a(Landroid/view/View$OnTouchListener;)V
    .locals 1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    invoke-virtual {v0, p1}, Landroid/view/ViewGroup;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->l:Landroid/view/View;

    if-eqz v0, :cond_0

    .line 6
    invoke-virtual {v0, p1}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 7
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p1}, Landroid/widget/LinearLayout;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    return-void
.end method

.method protected a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;Landroid/view/View;I)V
    .locals 2

    .line 18
    iget-boolean p2, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p:Z

    if-eqz p2, :cond_3

    .line 19
    invoke-virtual {p0, p3}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->e(I)Ljava/lang/Object;

    move-result-object p2

    instance-of p2, p2, Les/f40;

    if-eqz p2, :cond_1

    .line 20
    iget-object p2, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->i:Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;

    if-eqz p2, :cond_0

    .line 21
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    iget-object p1, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    invoke-interface {p2, v0, p1, p3}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;->a(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;I)V

    :cond_0
    return-void

    .line 22
    :cond_1
    iget-object p2, p1, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->d:Landroid/widget/CheckBox;

    .line 23
    invoke-virtual {p2}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v0

    xor-int/lit8 v0, v0, 0x1

    .line 24
    invoke-virtual {p2, v0}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 25
    invoke-virtual {p0, p3}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->i(I)V

    .line 26
    invoke-virtual {p0, p3}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g(I)Z

    move-result p2

    if-eqz p2, :cond_2

    .line 27
    new-instance p2, Lcom/estrongs/android/ui/drag/b;

    invoke-direct {p2}, Lcom/estrongs/android/ui/drag/b;-><init>()V

    .line 28
    invoke-virtual {p2, p3}, Lcom/estrongs/android/ui/drag/b;->a(I)V

    .line 29
    iget-object v0, p1, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->a:Landroid/view/View;

    check-cast v0, Lcom/estrongs/android/ui/drag/DragGrid;

    invoke-virtual {p2, v0}, Lcom/estrongs/android/ui/drag/b;->a(Lcom/estrongs/android/ui/drag/DragGrid;)V

    .line 30
    iget-object v0, p1, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->a:Landroid/view/View;

    const v1, 0x7f08012a

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundResource(I)V

    .line 31
    iget-object v0, p1, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->a:Landroid/view/View;

    invoke-static {v0}, Les/fy;->a(Landroid/view/View;)Landroid/graphics/Bitmap;

    move-result-object v0

    invoke-virtual {p2, v0}, Lcom/estrongs/android/ui/drag/b;->a(Landroid/graphics/Bitmap;)V

    .line 32
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r:Ljava/util/Map;

    invoke-virtual {p0, p3}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->f(I)Ljava/lang/String;

    move-result-object p3

    invoke-interface {v0, p3, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 33
    iget-object p1, p1, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->a:Landroid/view/View;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object p2

    const p3, 0x7f060324

    invoke-virtual {p2, p3}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result p2

    invoke-virtual {p1, p2}, Landroid/view/View;->setBackgroundColor(I)V

    goto :goto_0

    .line 34
    :cond_2
    iget-object p2, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r:Ljava/util/Map;

    invoke-virtual {p0, p3}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->f(I)Ljava/lang/String;

    move-result-object p3

    invoke-interface {p2, p3}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 35
    iget-object p1, p1, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->a:Landroid/view/View;

    const/4 p2, 0x0

    invoke-virtual {p1, p2}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_0

    .line 36
    :cond_3
    iget-object p2, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->i:Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;

    if-eqz p2, :cond_4

    .line 37
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    iget-object p1, p1, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;

    invoke-interface {p2, v0, p1, p3}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;->a(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;I)V

    :cond_4
    :goto_0
    return-void
.end method

.method public a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$b;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->h:Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;->a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$b;)V

    return-void
.end method

.method public a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;)V
    .locals 0

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->i:Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;

    return-void
.end method

.method public a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$d;)V
    .locals 0

    .line 3
    iput-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->j:Lcom/estrongs/android/view/FeaturedGridViewWrapper$d;

    return-void
.end method

.method public a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$e;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/estrongs/android/view/FeaturedGridViewWrapper$e<",
            "TT;>;)V"
        }
    .end annotation

    .line 17
    iput-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->k:Lcom/estrongs/android/view/FeaturedGridViewWrapper$e;

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 2

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->t:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_0

    const/16 v1, 0x8

    .line 9
    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 10
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->m:Landroid/widget/TextView;

    if-eqz v0, :cond_1

    .line 11
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_1
    return-void
.end method

.method public a(Z)V
    .locals 1

    .line 12
    iput-boolean p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p:Z

    if-eqz p1, :cond_0

    .line 13
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->K()V

    goto :goto_0

    :cond_0
    const/4 p1, -0x2

    .line 14
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->i(I)V

    .line 15
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->x:Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;

    if-eqz p1, :cond_1

    instance-of v0, p0, Lcom/estrongs/android/view/d0;

    if-nez v0, :cond_1

    .line 16
    iget-boolean v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p:Z

    xor-int/lit8 v0, v0, 0x1

    invoke-virtual {p1, v0}, Landroidx/swiperefreshlayout/widget/SwipeRefreshLayout;->setEnabled(Z)V

    :cond_1
    return-void
.end method

.method public b(Ljava/lang/String;)V
    .locals 1

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->A()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->u:Landroid/widget/TextView;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 4
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->t:Landroid/widget/LinearLayout;

    if-eqz p1, :cond_1

    const/4 v0, 0x0

    .line 5
    invoke-virtual {p1, v0}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 6
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    const/16 v0, 0x8

    invoke-virtual {p1, v0}, Landroid/view/ViewGroup;->setVisibility(I)V

    return-void
.end method

.method protected b(Z)V
    .locals 3

    if-eqz p1, :cond_1

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r:Ljava/util/Map;

    invoke-interface {p1}, Ljava/util/Map;->values()Ljava/util/Collection;

    move-result-object p1

    invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/ui/drag/b;

    .line 8
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->e()V

    goto :goto_0

    .line 9
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r:Ljava/util/Map;

    invoke-interface {p1}, Ljava/util/Map;->clear()V

    goto :goto_1

    :cond_1
    const/4 p1, 0x0

    .line 10
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->f(I)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_2

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r:Ljava/util/Map;

    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->f(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/ui/drag/b;

    if-eqz v0, :cond_2

    .line 12
    new-instance v1, Lcom/estrongs/android/ui/drag/b;

    invoke-direct {v1}, Lcom/estrongs/android/ui/drag/b;-><init>()V

    .line 13
    invoke-virtual {v1, p1}, Lcom/estrongs/android/ui/drag/b;->a(I)V

    .line 14
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/drag/b;->a(Lcom/estrongs/android/ui/drag/DragGrid;)V

    .line 15
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->a()Landroid/graphics/Bitmap;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/estrongs/android/ui/drag/b;->a(Landroid/graphics/Bitmap;)V

    .line 16
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r:Ljava/util/Map;

    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->f(I)Ljava/lang/String;

    move-result-object p1

    invoke-interface {v0, p1, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_2
    :goto_1
    return-void
.end method

.method public d(Ljava/util/List;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "TT;>;)V"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->s:Lcom/estrongs/android/ui/drag/a;

    if-eqz v0, :cond_0

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->h:Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;

    invoke-virtual {v1, v0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;->a(Lcom/estrongs/android/ui/drag/a;)V

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->h:Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;

    invoke-virtual {v0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;->a(Ljava/util/List;)V

    return-void
.end method

.method public e(I)Ljava/lang/Object;
    .locals 1
    .annotation build Landroidx/annotation/Nullable;
    .end annotation

    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I)TT;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->h:Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;->getItem(I)Ljava/lang/Object;

    move-result-object p1

    return-object p1

    :cond_0
    const/4 p1, 0x0

    return-object p1
.end method

.method public abstract f(I)Ljava/lang/String;
.end method

.method public g(I)Z
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-interface {v0, p1}, Ljava/util/SortedMap;->containsKey(Ljava/lang/Object;)Z

    move-result p1

    return p1
.end method

.method public h(I)V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->t:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_0

    const/16 v1, 0x8

    .line 2
    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->m:Landroid/widget/TextView;

    if-eqz v0, :cond_1

    .line 4
    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(I)V

    :cond_1
    return-void
.end method

.method public i(I)V
    .locals 6

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p()Ljava/util/List;

    move-result-object v0

    if-nez v0, :cond_0

    return-void

    .line 2
    :cond_0
    instance-of v1, v0, Ljava/util/LinkedList;

    if-eqz v1, :cond_1

    .line 3
    new-instance v1, Ljava/util/ArrayList;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v2

    invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V

    .line 4
    invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    move-object v0, v1

    .line 5
    :cond_1
    iget-object v1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-interface {v1}, Ljava/util/SortedMap;->size()I

    move-result v1

    const/4 v2, -0x1

    const/4 v3, 0x0

    if-ne p1, v2, :cond_3

    .line 6
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-interface {p1}, Ljava/util/SortedMap;->clear()V

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r:Ljava/util/Map;

    invoke-interface {p1}, Ljava/util/Map;->clear()V

    .line 8
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    .line 9
    iget-object v2, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    add-int/lit8 v4, v3, 0x1

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-interface {v2, v3, v0}, Ljava/util/SortedMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move v3, v4

    goto :goto_0

    .line 10
    :cond_2
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->K()V

    goto :goto_2

    :cond_3
    const/4 v2, -0x2

    if-ne p1, v2, :cond_4

    .line 11
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->m()V

    .line 12
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->K()V

    goto :goto_2

    :cond_4
    const/4 v2, -0x4

    if-ne p1, v2, :cond_6

    .line 13
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->v()[I

    move-result-object p1

    if-eqz p1, :cond_8

    .line 14
    iget-object v2, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-interface {v2}, Ljava/util/SortedMap;->clear()V

    .line 15
    aget v2, p1, v3

    :goto_1
    const/4 v3, 0x1

    aget v3, p1, v3

    if-gt v2, v3, :cond_5

    .line 16
    iget-object v3, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    invoke-interface {v3, v4, v5}, Ljava/util/SortedMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    add-int/lit8 v2, v2, 0x1

    goto :goto_1

    .line 17
    :cond_5
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->K()V

    goto :goto_2

    :cond_6
    if-ltz p1, :cond_8

    .line 18
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v2

    if-ge p1, v2, :cond_8

    .line 19
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g(I)Z

    move-result v2

    if-nez v2, :cond_7

    .line 20
    iget-object v2, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    invoke-interface {v2, v3, p1}, Ljava/util/SortedMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_2

    .line 21
    :cond_7
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-interface {v0, p1}, Ljava/util/SortedMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 22
    :cond_8
    :goto_2
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->k:Lcom/estrongs/android/view/FeaturedGridViewWrapper$e;

    if-eqz p1, :cond_9

    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-interface {p1}, Ljava/util/SortedMap;->size()I

    move-result p1

    if-eq v1, p1, :cond_9

    .line 23
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->k:Lcom/estrongs/android/view/FeaturedGridViewWrapper$e;

    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->x()Ljava/util/List;

    move-result-object v0

    invoke-interface {p1, v0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$e;->b(Ljava/util/List;)V

    :cond_9
    return-void
.end method

.method public j(I)V
    .locals 13

    .line 1
    iput p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->o:I

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-static {v1}, Lcom/estrongs/android/pop/utils/t;->i(Landroid/content/Context;)Z

    move-result v1

    .line 4
    iget-object v2, p0, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v2

    iget v2, v2, Landroid/content/res/Configuration;->orientation:I

    const/4 v3, 0x1

    if-ne v2, v3, :cond_0

    const/4 v2, 0x1

    goto :goto_0

    :cond_0
    const/4 v2, 0x0

    :goto_0
    const/high16 v4, 0x41000000    # 8.0f

    const/high16 v5, 0x42700000    # 60.0f

    const/high16 v6, 0x42480000    # 50.0f

    const/4 v7, 0x4

    const v8, 0x41cb3333    # 25.4f

    const/4 v9, 0x5

    const/high16 v10, 0x3f000000    # 0.5f

    if-nez p1, :cond_6

    if-eqz v1, :cond_2

    :cond_1
    const/4 v3, 0x4

    goto :goto_2

    .line 5
    :cond_2
    iget p1, v0, Landroid/util/DisplayMetrics;->widthPixels:I

    iget v1, v0, Landroid/util/DisplayMetrics;->densityDpi:I

    div-int/2addr p1, v1

    int-to-float p1, p1

    mul-float p1, p1, v8

    if-eqz v2, :cond_4

    cmpg-float v1, p1, v6

    if-gez v1, :cond_3

    const/4 p1, 0x3

    const/4 v3, 0x3

    goto :goto_2

    :cond_3
    cmpl-float p1, p1, v5

    if-lez p1, :cond_1

    const/4 v3, 0x5

    goto :goto_2

    :cond_4
    const/high16 v1, 0x41500000    # 13.0f

    div-float/2addr p1, v1

    add-float/2addr p1, v10

    float-to-int p1, p1

    .line 6
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/ui/theme/b;->m()Z

    move-result v1

    if-nez v1, :cond_5

    add-int/lit8 p1, p1, -0x2

    goto :goto_1

    :cond_5
    add-int/lit8 p1, p1, -0x1

    :goto_1
    move v3, p1

    .line 7
    :goto_2
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->f:Landroidx/recyclerview/widget/GridLayoutManager;

    invoke-virtual {p1, v3}, Landroidx/recyclerview/widget/GridLayoutManager;->setSpanCount(I)V

    goto/16 :goto_7

    :cond_6
    const/4 v11, 0x2

    const/4 v12, 0x6

    if-ne p1, v11, :cond_c

    if-eqz v1, :cond_8

    :cond_7
    const/4 v3, 0x6

    goto :goto_4

    .line 8
    :cond_8
    iget p1, v0, Landroid/util/DisplayMetrics;->widthPixels:I

    iget v1, v0, Landroid/util/DisplayMetrics;->densityDpi:I

    div-int/2addr p1, v1

    int-to-float p1, p1

    mul-float p1, p1, v8

    if-eqz v2, :cond_a

    cmpg-float v1, p1, v6

    if-gez v1, :cond_9

    const/4 v3, 0x5

    goto :goto_4

    :cond_9
    cmpl-float p1, p1, v5

    if-lez p1, :cond_7

    const/4 p1, 0x7

    const/4 v3, 0x7

    goto :goto_4

    :cond_a
    div-float/2addr p1, v4

    add-float/2addr p1, v10

    float-to-int p1, p1

    .line 9
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/ui/theme/b;->m()Z

    move-result v1

    if-nez v1, :cond_b

    add-int/lit8 p1, p1, -0x2

    goto :goto_3

    :cond_b
    add-int/lit8 p1, p1, -0x1

    :goto_3
    move v3, p1

    .line 10
    :goto_4
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->f:Landroidx/recyclerview/widget/GridLayoutManager;

    invoke-virtual {p1, v3}, Landroidx/recyclerview/widget/GridLayoutManager;->setSpanCount(I)V

    goto :goto_7

    :cond_c
    if-ne p1, v3, :cond_12

    if-eqz v1, :cond_e

    :cond_d
    const/4 v3, 0x5

    goto :goto_6

    .line 11
    :cond_e
    iget p1, v0, Landroid/util/DisplayMetrics;->widthPixels:I

    iget v1, v0, Landroid/util/DisplayMetrics;->densityDpi:I

    div-int/2addr p1, v1

    int-to-float p1, p1

    mul-float p1, p1, v8

    if-eqz v2, :cond_10

    cmpg-float v1, p1, v6

    if-gez v1, :cond_f

    const/4 v3, 0x4

    goto :goto_6

    :cond_f
    cmpl-float p1, p1, v5

    if-lez p1, :cond_d

    const/4 v3, 0x6

    goto :goto_6

    :cond_10
    const/high16 v1, 0x41200000    # 10.0f

    div-float/2addr p1, v1

    add-float/2addr p1, v10

    float-to-int p1, p1

    .line 12
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/ui/theme/b;->m()Z

    move-result v1

    if-nez v1, :cond_11

    add-int/lit8 p1, p1, -0x2

    goto :goto_5

    :cond_11
    add-int/lit8 p1, p1, -0x1

    :goto_5
    move v3, p1

    .line 13
    :goto_6
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->f:Landroidx/recyclerview/widget/GridLayoutManager;

    invoke-virtual {p1, v3}, Landroidx/recyclerview/widget/GridLayoutManager;->setSpanCount(I)V

    goto :goto_7

    :cond_12
    if-eqz v1, :cond_13

    if-nez v2, :cond_13

    .line 14
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->f:Landroidx/recyclerview/widget/GridLayoutManager;

    invoke-virtual {p1, v11}, Landroidx/recyclerview/widget/GridLayoutManager;->setSpanCount(I)V

    goto :goto_7

    .line 15
    :cond_13
    iget-object p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->f:Landroidx/recyclerview/widget/GridLayoutManager;

    invoke-virtual {p1, v3}, Landroidx/recyclerview/widget/GridLayoutManager;->setSpanCount(I)V

    .line 16
    :goto_7
    iget p1, v0, Landroid/util/DisplayMetrics;->widthPixels:I

    int-to-float p1, p1

    iget v0, v0, Landroid/util/DisplayMetrics;->density:F

    mul-float v4, v4, v0

    add-float/2addr v4, v10

    sub-float/2addr p1, v4

    int-to-float v1, v3

    div-float/2addr p1, v1

    const/high16 v1, 0x41400000    # 12.0f

    mul-float v0, v0, v1

    add-float/2addr v0, v10

    sub-float/2addr p1, v0

    float-to-int p1, p1

    int-to-float p1, p1

    iput p1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->z:F

    .line 17
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->K()V

    return-void
.end method

.method protected k()I
    .locals 1

    const v0, 0x7f0c0284

    return v0
.end method

.method public l()Z
    .locals 4

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->v()[I

    move-result-object v0

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-eqz v0, :cond_0

    .line 2
    aget v3, v0, v1

    aget v0, v0, v2

    sub-int/2addr v3, v0

    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-interface {v0}, Ljava/util/SortedMap;->size()I

    move-result v0

    if-lt v3, v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    :goto_0
    return v1
.end method

.method public m()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-interface {v0}, Ljava/util/SortedMap;->clear()V

    const/4 v0, 0x1

    .line 2
    invoke-virtual {p0, v0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->b(Z)V

    return-void
.end method

.method protected n()Landroidx/recyclerview/widget/GridLayoutManager;
    .locals 3

    .line 1
    new-instance v0, Lcom/estrongs/android/view/FeaturedGridViewWrapper$EsGridLayoutManager;

    iget-object v1, p0, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    const/4 v2, 0x4

    invoke-direct {v0, v1, v2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$EsGridLayoutManager;-><init>(Landroid/content/Context;I)V

    return-object v0
.end method

.method public o()F
    .locals 1

    .line 1
    iget v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->z:F

    return v0
.end method

.method public p()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "TT;>;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->h:Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper$GridAdapter;->a()Ljava/util/List;

    move-result-object v0

    return-object v0

    :cond_0
    const/4 v0, 0x0

    return-object v0
.end method

.method public q()I
    .locals 1

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public r()Lcom/estrongs/android/ui/fastscroller/vertical/VerticalRecyclerViewFastScroller;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->v:Lcom/estrongs/android/ui/fastscroller/vertical/VerticalRecyclerViewFastScroller;

    return-object v0
.end method

.method protected s()Landroidx/recyclerview/widget/RecyclerView;
    .locals 4

    const v0, 0x7f0904c8

    .line 1
    invoke-virtual {p0, v0}, Lcom/estrongs/android/view/h0;->b(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroidx/recyclerview/widget/RecyclerView;

    .line 2
    instance-of v1, v0, Lcom/estrongs/android/ui/view/FlingChangeRecyclerView;

    if-eqz v1, :cond_0

    .line 3
    move-object v1, v0

    check-cast v1, Lcom/estrongs/android/ui/view/FlingChangeRecyclerView;

    const-wide v2, 0x3feb333333333333L    # 0.85

    .line 4
    invoke-virtual {v1, v2, v3}, Lcom/estrongs/android/ui/view/FlingChangeRecyclerView;->setFlingScale(D)V

    :cond_0
    if-eqz v0, :cond_1

    .line 5
    new-instance v1, Lcom/estrongs/android/icon/loader/ESImageLoadPauseListener;

    invoke-direct {v1}, Lcom/estrongs/android/icon/loader/ESImageLoadPauseListener;-><init>()V

    invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/RecyclerView;->addOnScrollListener(Landroidx/recyclerview/widget/RecyclerView$OnScrollListener;)V

    :cond_1
    return-object v0
.end method

.method public t()Landroidx/recyclerview/widget/RecyclerView;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g:Landroidx/recyclerview/widget/RecyclerView;

    return-object v0
.end method

.method public u()Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->i:Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;

    return-object v0
.end method

.method protected v()[I
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-interface {v0}, Ljava/util/SortedMap;->size()I

    move-result v0

    const/4 v1, 0x2

    if-lt v0, v1, :cond_0

    new-array v0, v1, [I

    const/4 v1, 0x0

    .line 2
    iget-object v2, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-interface {v2}, Ljava/util/SortedMap;->firstKey()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    aput v2, v0, v1

    const/4 v1, 0x1

    iget-object v2, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-interface {v2}, Ljava/util/SortedMap;->lastKey()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/Integer;

    invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I

    move-result v2

    aput v2, v0, v1

    return-object v0

    :cond_0
    const/4 v0, 0x0

    return-object v0
.end method

.method public w()Ljava/util/Map;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Lcom/estrongs/android/ui/drag/b;",
            ">;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r:Ljava/util/Map;

    return-object v0
.end method

.method public x()Ljava/util/List;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "TT;>;"
        }
    .end annotation

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-interface {v1}, Ljava/util/SortedMap;->values()Ljava/util/Collection;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    return-object v0
.end method

.method public y()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->q:Ljava/util/SortedMap;

    invoke-interface {v0}, Ljava/util/SortedMap;->values()Ljava/util/Collection;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Collection;->size()I

    move-result v0

    return v0
.end method

.method public z()I
    .locals 1

    .line 1
    iget v0, p0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->o:I

    return v0
.end method
